﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Critex.Models;

namespace Critex.ViewModels
{
    public class AddressAreaViewModel
    {

        public AddressAreaViewModel() {}

        public AddressAreaViewModel(AddressArea area, int sectionId)
        {
            this.Id = area.Id;
            this.Address = area.Address;
            this.SectionId = sectionId;
        }

        public int Id { get; set; }

        public string Address { get; set; }

        public object SectionId { get; set; }
    }
}